package com.aiobc.business.personalcenter.domain;

import com.aiobc.common.core.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


import java.util.Date;

@Data
@TableName("data_collection_log")
@ApiModel(value = "DataCollectionLog对象", description = "数据收藏")
public class DataCollectionLog extends BaseEntity {

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "log_id")
    private String logId;

    @ApiModelProperty(value = "数据ID")
    @TableId(value = "data_id")
    private String dataId;

    @ApiModelProperty(value = "用户ID")
    @TableId(value = "user_id")
    private String userId;

    @ApiModelProperty(value = "用户IP")
    @TableId(value = "user_ip")
    private String userIp;

    @ApiModelProperty(value = "是否有效")
    @TableId(value = "is_valid")
    private String isValid;

    @ApiModelProperty(value = "乐观锁")
    @TableId(value = "revision")
    private String revision;

    @ApiModelProperty(value = "创建人")
    @TableId(value = "created_by")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    @TableId(value = "created_time")
    private Date createdTime;

    @ApiModelProperty(value = "更新人")
    @TableId(value = "updated_by")
    private String updatedBy;

    @ApiModelProperty(value = "更新时间")
    @TableId(value = "updated_time")
    private Date updatedTime;


}
